<div class="uk-layui-form">
    <form class="layui-form uk-form" action="/admin/callcenter/ivr/update.html" data-toggle="ajax-form" data-inner="#callCenterContent">
    	<input type="hidden" name="hostid" value="${pbxHost.id!''}">
    	<input type="hidden" name="id" value="${extention.id!''}">
        <div class="layui-form-item">
            <label class="layui-form-label">分机号：</label>
            <div class="layui-input-inline">
                <input type="text" name="extention" required lay-verify="required|number" value="${extention.extention!''}" placeholder="请输入分机号码" autocomplete="off" class="layui-input">
            </div>
        </div>
       
        <div class="layui-form-item">
            <label class="layui-form-label">描述信息：</label>
            <div class="layui-input-inline">
                <textarea id="description" name="description" placeholder="请输入描述信息" autocomplete="off" class="layui-input" style="height:100px;">${extention.description!''}</textarea>
            </div>
        </div>
        
        <div class="layui-form-button">
            <div class="layui-button-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>
<script>
	layui.use('form', function(){
	  var form = layui.form();
	  form.render();
	});
</script>